package com.hq.modules.sys.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.hq.modules.sys.dao.BuildingInfoMapper;
import com.hq.modules.sys.entity.BuildingInfo;
import com.hq.service.BuildingInfoService;

@Service
public class BuildingInfoServiceImpl implements BuildingInfoService {

    @Resource
    private BuildingInfoMapper buildingInfoMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return buildingInfoMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(BuildingInfo record) {
        return buildingInfoMapper.insert(record);
    }

    @Override
    public int insertSelective(BuildingInfo record) {
        return buildingInfoMapper.insertSelective(record);
    }

    @Override
    public BuildingInfo selectByPrimaryKey(Integer id) {
        return buildingInfoMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(BuildingInfo record) {
        return buildingInfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(BuildingInfo record) {
        return buildingInfoMapper.updateByPrimaryKey(record);
    }

}


